package com.mentaleye.dal.dao;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.mentaleye.bean.SpecialtimeBean;
import com.mentaleye.dal.model.Specialtime;
import com.mentaleye.dal.model.SpecialtimeExample;

public interface SpecialWorktimeDao {
 
	
	boolean insertSpecialtime(Specialtime specialtime);
	
	boolean updateSpecialtime(Specialtime specialtime);
	
	boolean updateSpworktimeByList(List<Integer> ids,Specialtime specialtime);
	
	boolean deleteSpecialtime(List<Integer> ids);
	
	public List<Specialtime> selectByBeginTimeAndEndTime(Map<String, String> map);
	
	List<Specialtime> selectSpecial(SpecialtimeExample example);
	
	Specialtime querySpworktime(Integer worktimeNo);
	
	boolean deleteSpecialtimeNotIn(List<Integer> ids);

	List<Specialtime> querySpWorktimeByPage(Map<String, Object> map);
	
	public Date selectByMaxEndTime(String date);
	
	public List<Specialtime> selectByBetWeenTime(Map<String, String> map);
	
}
